# -*- coding: utf8 -*-
#
# ***** BEGIN GPL LICENSE BLOCK *****
#
# --------------------------------------------------------------------------
# Blender 2.5 Exporter Framework
# --------------------------------------------------------------------------
#
# Authors:
# Doug Hammond
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <http://www.gnu.org/licenses/>.
#
# ***** END GPL LICENCE BLOCK *****
#

#bl_addon_info = {
#    "name": "Exporter Framework",
#    "author": "TwinSnakes007",
#    "version": (0, 1, 0),
#    "blender": (2, 5, 3),
#    "category": "Render",
#    "location": "[None - supporting library only]",
#    "warning": "This Addon alone does nothing, it is required by exporters.",
#    "wiki_url": "",
#    "tracker_url": "",
#    "description": "Supporting library for exporters."
#}

import os, sys, platform
ef_path = os.path.realpath( os.path.dirname(__file__) )
if not ef_path in sys.path:
	sys.path.append(ef_path)
	from .ui import EF_OT_msg
	if platform.system() == 'Windows':
		import bpy
		bpy.types.register(EF_OT_msg)
		del bpy
	from . import ef as ExporterFrameworkMod
	ExporterFrameworkMod.log('ExporterFramework detected and loaded from %s'%ef_path)
	del EF_OT_msg, ExporterFrameworkMod
	
def register():
	pass
def unregister():
	pass

del os, sys, platform, ef_path
